Skip to content

Conversation

wtrocki
Copy link
Collaborator

@wtrocki wtrocki commented May 14, 2025

I scraped and tokenized the repository to test its integration with base models. While doing so, I noticed that examples using a non-localhost connection string confused tools like Copilot and Cursor, causing them to generate references to non-existent hosts.

This small change modifies the connection strings in the examples to default to localhost. With this adjustment, tools like MCP instantly align with the base model MongoDB setup and provide much more accurate recommendations.

Verified in cursor

Screenshot 2025-05-14 at 11 52 57

I scraped and tokenized the repository to test its integration with base models. While doing so, I noticed that examples using a non-localhost connection string confused tools like Copilot and Cursor, causing them to generate references to non-existent hosts.

This small change modifies the connection strings in the examples to default to localhost. With this adjustment, tools like MCP instantly align with the base model MongoDB setup and provide much more accurate recommendations.
@Copilot Copilot AI review requested due to automatic review settings May 14, 2025 09:16
@wtrocki wtrocki requested a review from a team as a code owner May 14, 2025 09:16
Copilot

This comment was marked as outdated.

@wtrocki wtrocki requested a review from Copilot May 14, 2025 09:25
Copilot

This comment was marked as off-topic.

@wtrocki wtrocki merged commit ab21838 into main May 14, 2025
19 checks passed
@wtrocki wtrocki deleted the docs-seo branch May 14, 2025 09:59
@wtrocki wtrocki changed the title chore: base model SEO change chore: change connection url to localhost (SEO change) May 14, 2025
nirinchev added a commit that referenced this pull request May 23, 2025
* main: (21 commits)
  fix: updates count tool (#254)
  fix: docker security warnings (#259)
  feat: docker support (#238)
  docs: list alerts docs (#250)
  chore: add hints and update mcp (#249)
  chore: base model SEO change (#248)
  chore(ci): add a PR title check workflow (#247)
  docs: bump node.js version (#246)
  chore: corrects the description of atlas-create-db-user (#240)
  chore: auto-close stale issues (#237)
  chore(deps-dev): bump globals from 16.0.0 to 16.1.0 (#231)
  chore(deps-dev): bump @types/node from 22.15.9 to 22.15.17 (#233)
  chore(deps-dev): bump eslint-config-prettier from 10.1.2 to 10.1.5 (#234)
  feat: Alerts Listing (#230)
  chore(deps-dev): bump @redocly/cli from 1.34.2 to 1.34.3 (#235)
  chore(deps-dev): bump openapi-typescript from 7.6.1 to 7.8.0 (#232)
  chore: release v0.1.1 (#223)
  fix: improve uncaught exception for getAccessToken (#224)
  chore: update issue template (#227)
  chore: switch to `@mongodb-js/device-id` (#196)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants